package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.Travelexpenses;

/**
 * 出差报销Service接口
 * 
 * @author ruoyi
 * @date 2024-01-04
 */
public interface ITravelexpensesService 
{
    /**
     * 查询出差报销
     * 
     * @param id 出差报销主键
     * @return 出差报销
     */
    public Travelexpenses selectTravelexpensesById(Long id);

    /**
     * 查询出差报销列表
     * 
     * @param travelexpenses 出差报销
     * @return 出差报销集合
     */
    public List<Travelexpenses> selectTravelexpensesList(Travelexpenses travelexpenses);

    /**
     * 新增出差报销
     * 
     * @param travelexpenses 出差报销
     * @return 结果
     */
    public int insertTravelexpenses(Travelexpenses travelexpenses);

    /**
     * 修改出差报销
     * 
     * @param travelexpenses 出差报销
     * @return 结果
     */
    public int updateTravelexpenses(Travelexpenses travelexpenses);

    /**
     * 批量删除出差报销
     * 
     * @param ids 需要删除的出差报销主键集合
     * @return 结果
     */
    public int deleteTravelexpensesByIds(Long[] ids);

    /**
     * 删除出差报销信息
     * 
     * @param id 出差报销主键
     * @return 结果
     */
    public int deleteTravelexpensesById(Long id);
}
